﻿<controls:ChildWindow 
           xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"
           x:Class="SimpleMultipleFileUploader.FileUploadWindow" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
           mc:Ignorable="d"
           d:DesignWidth="459" d:DesignHeight="351"
           Title="Simple, Multiple File Upload Window">

        <toolkit:BusyIndicator x:Name="busyIndicator">
            <StackPanel x:Name="LayoutRoot" Height="317" VerticalAlignment="Top" HorizontalAlignment="Left" Width="441">
            
                    <Grid Height="273" x:Name="ImportGrid" Width="410">

            
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="*" />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="47*" />
                            <RowDefinition Height="47*" />
                            <RowDefinition Height="47*" />
                            <RowDefinition Height="47*" />
                            <RowDefinition Height="47*" />
                            <RowDefinition Height="47*" />
                            <RowDefinition Height="47*" />
                        </Grid.RowDefinitions>

                        <TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" VerticalAlignment="Center" FontSize="15" Height="34" Margin="30,5,0,0" Width="379" TextAlignment="Center" Text="Please select or drag-and-drop the files to be uploaded." Foreground="White" FontFamily="Georgia"></TextBlock>
                <TextBox Height="23" Name="FileBox0" Margin="50,6,96,10"  IsReadOnly="True" Grid.Column="1" Grid.Row="1" />
                        <Button Content="Browse" Height="23" Name="BrowseButton0" Tag="0" Margin="0,6,6,10" HorizontalAlignment="Right" Width="79" Click="BrowseButton_Click" Grid.Column="1" Grid.Row="1" />
                <TextBox Height="23" Name="FileBox1" Margin="50,6,96,10" IsReadOnly="True" Grid.Row="2" Grid.Column="1" />
                        <Button Content="Browse" Height="23" Name="BrowseButton1" Tag="1" Margin="0,6,6,10" HorizontalAlignment="Right" Width="79" Grid.Row="2" Click="BrowseButton_Click" Grid.Column="1" />
                <TextBox Height="23" Name="FileBox2" Margin="50,6,96,10" IsReadOnly="True" Grid.Row="3" Grid.Column="1" />
                        <Button Content="Browse" Height="23" Name="BrowseButton2" Tag="2" Margin="0,6,6,10" HorizontalAlignment="Right" Width="79" Grid.Row="3" Click="BrowseButton_Click" Grid.Column="1" />
                <TextBox Height="23" Name="FileBox3" Margin="50,6,96,10" IsReadOnly="True" Grid.Row="4" Grid.Column="1" />
                        <Button Content="Browse" Height="23" Name="BrowseButton3" Tag="3" Margin="0,6,6,10" HorizontalAlignment="Right" Width="79" Grid.Row="4" Click="BrowseButton_Click" Grid.Column="1" />
                <TextBox Height="23" Name="FileBox4" Margin="50,6,96,10" IsReadOnly="True" Grid.Row="5" Grid.Column="1" />
                        <Button Content="Browse" Height="23" Name="BrowseButton4" Tag="4" Margin="0,6,6,10" HorizontalAlignment="Right" Width="79" Grid.Row="5" Click="BrowseButton_Click" Grid.Column="1" />
                <TextBox Height="23" Name="FileBox5" Margin="50,6,96,10" IsReadOnly="True" Grid.Row="6" Grid.Column="1" />
                        <Button Content="Browse" Height="23" Name="BrowseButton5" Tag="5" Margin="0,6,6,10" HorizontalAlignment="Right" Width="79" Grid.Row="6" Click="BrowseButton_Click" Grid.Column="1" />
                        
                    </Grid>

                    <StackPanel Orientation="Horizontal" Height="28" HorizontalAlignment="Center" Margin="10">
            
                        <Button Content="Upload All" Height="23" Margin="0,0,10,0"  Name="ImportAllBttn" Width="75" Click="ImportAllBttn_Click" />
                        <Button Content="Clear All" Height="23" Margin="0,0,10,0" Name="ClearAll" Width="75" Click="ClearAll_Click" />
                        <Button Content="Cancel" Height="23" Name="CancelImportButton" Width="75" Click="CancelImportButton_Click" />
            
                    </StackPanel>
            <StackPanel.Background>
                <ImageBrush ImageSource="/SimpleMultipleFileUploader;component/matrix.jpeg" />
            </StackPanel.Background>
        </StackPanel>
        </toolkit:BusyIndicator>
    <controls:ChildWindow.Background>
        <ImageBrush ImageSource="/SimpleMultipleFileUploader;component/web.jpg" Stretch="Uniform" />
    </controls:ChildWindow.Background>
</controls:ChildWindow>
